#ifndef POSTDETAILDIALOG_H
#define POSTDETAILDIALOG_H

#include "Interfaces/defs.h"

#include <QDialog>

namespace Ui {
class PostDetailDialog;
}

class PostDetailDialog : public QDialog
{
    Q_OBJECT

public:
    explicit PostDetailDialog(QWidget *parent = nullptr);
    ~PostDetailDialog();

    void setPost(const Core::Post &post);

    void setPixmapBuf(QByteArray buf);

private:
    Ui::PostDetailDialog *ui;
    QByteArray m_pixBuf;
};

#endif // POSTDETAILDIALOG_H
